package com.fysports.framework.render;

import com.jfinal.render.IErrorRenderFactory;
import com.jfinal.render.Render;

/**
 * Class title: 系统默认异常render <br/>
 * Describe:                    <br/>
 * Created by konbluesky           <br/>
 * Date : 15/12/17 上午9:51       <br/>
 * Project : jdmdataServer    <br/>
 */
public class ErrorRenderFactory implements IErrorRenderFactory {
    @Override
    public Render getRender(int errorCode, String view) {
        return new ErrorRender(errorCode, view);
    }
}
